package com.fallsvc.re.javasesets.bgeneric;

import java.util.Vector;

/**
 * @auther falls_vc
 * description:
 * @date 2025/10/13  14:59
 */
public class Demo1 implements Comparable<Integer>{

    public static void main(String[] args) {
//        Vector<Integer> vector = new Vector<>();
        Integer a = 10;
        MyArray<Number> array;


    }

    @Override
    public int compareTo(Integer o) {
        return 0;
    }

    public class MyArray<E extends Number> {
        //...
    }
    public class MyArray1<E extends Comparable<E>> {
        //...
    }
}
